package demo5;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class Sweater implements Clothes{
    @Override
    public void wear()
    {
        System.out.println("穿一件毛衣");
    }
}
